package com.jxd.ordering.model;

/**
 * @ClassName Dict
 * @Description TODO
 * @Author Ankailong
 * @Date 2022/9/25
 * @Version 1.0
 */
public class Dict extends Entity {
    private Integer id;
    private Integer pid;
    private Integer dictno;//数据字典编号
    private String field;//字段类型（job、type、statu）
    private Integer value;//字段值
    private String name;//字段名称

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public Integer getDictno() {
        return dictno;
    }

    public void setDictno(Integer dictno) {
        this.dictno = dictno;
    }

    public String getField() {
        return field;
    }

    public void setField(String field) {
        this.field = field;
    }

    public Integer getValue() {
        return value;
    }

    public void setValue(Integer value) {
        this.value = value;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Dict() {
    }

    public Dict(Integer id, Integer pid, Integer dictno, String field, Integer value, String name) {
        this.id = id;
        this.pid = pid;
        this.dictno = dictno;
        this.field = field;
        this.value = value;
        this.name = name;
    }

    @Override
    public String toString() {
        return "Dict{" +
                "id=" + id +
                ", pid=" + pid +
                ", dictno=" + dictno +
                ", field='" + field + '\'' +
                ", value=" + value +
                ", name='" + name + '\'' +
                '}';
    }
}
